package com.gillion.business.model;

import com.gfa4j.mybatis.annotation.CommonField;
import com.gfa4j.mybatis.annotation.CommonFieldType;
import com.gfa4j.mybatis.model.BaseModel;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

@Entity
@Table(name = "SYS_USER")
public class SysUser extends BaseModel implements Serializable {
    private String userId;

    private String password;

    private String username;

    private Boolean age;

    private static final long serialVersionUID = 1L;

    @Column(name = "USER_ID")
    @Id
    @GeneratedValue(generator = "UUIDGenerator")
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Column(name = "PASSWORD")
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Column(name = "USERNAME")
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Column(name = "AGE")
    public Boolean getAge() {
        return age;
    }

    public void setAge(Boolean age) {
        this.age = age;
    }
}